Skip to content

Correct the cookie round trip and streaming response examples - #1692

Open
lovasoa wants to merge 1 commit into
docs-fixes/requestfrom
docs-fixes/responses
Open

lovasoa wants to merge 1 commit into
docs-fixes/requestfrom
docs-fixes/responses

Conversation

@lovasoa

@lovasoa lovasoa commented Nov 28, 2026

Copy link
Copy Markdown
Collaborator

The cookie example now sets a response cookie before any body output and reads it on a later request. The CSV walkthrough links to a separate streaming response. The JSON Lines reference covers empty, single-row, and multi-row bodies.

Tradeoff: A cookie round trip and a linked download require a second request. Multiple JSON Lines rows need a line-oriented parser. This edits the examples, not the response renderers.

Review: 05_cookie.sql and 11_json.sql. This patch also applies to main in isolation. It uses the current site and has no dependency on the Markdown compiler or configuration exporter.

@lovasoa
lovasoa force-pushed the docs-fixes/responses branch from fb50be6 to e87944e Compare November 29, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant